@if($ps->img)
<div class="box box-solid no-margin box-show">
    <div class="box-body">
        <h4>主图</h4>
        <div class="box-body no-padding">
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-8">
                    {!! \App\Models\Product\ProductSku::getMainImage($ps->img,300,300) !!}
                </div>
            </div>
        </div>
    </div>
</div>
@endif
@if($ps->image && $ps->image->pics)
<div class="box box-solid no-margin box-show">
    <div class="box-body">
        <h4>副图</h4>
        <div class="box-body no-padding">
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-8">
                    {!! \App\Models\Product\ProductSku::getMultipleImage($ps->image->pics) !!}
                </div>
            </div>
        </div>
    </div>
</div>
@endif
@if($packages)
<div class="box box-solid no-margin box-show">
    <div class="box-body">
        <h4>生产资料</h4>
        <div class="box-body no-padding">
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-8">
                    {!! \App\Models\Product\ProductSku::getMultipleFile($packages) !!}
                </div>
            </div>
        </div>
    </div>
</div>
@endif
@if($qualities)
<div class="box box-solid no-margin box-show">
    <div class="box-body">
        <h4>品质资料</h4>
        <div class="box-body no-padding">
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-8">
                    {!! \App\Models\Product\ProductSku::getMultipleFile($qualities) !!}
                </div>
            </div>
        </div>
    </div>
</div>
@endif
@if($ppt)
<div class="box box-solid no-margin box-show">
    <div class="box-body">
        <h4>产品资料</h4>
        <div class="box-body no-padding">
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-8">
                    {!! \App\Models\Product\ProductSku::getMultipleFile($ppt) !!}
                </div>
            </div>
        </div>
    </div>
</div>
@endif
